import React, { Component } from 'react';
import KeUI from '../keUi/KeUi'
import { get } from '@u/http'

class Kepreview extends Component {

    state={
        list:[]
    }
    async componentDidMount(){
        // data.mkIds = JSON.stringify(this.props.location.state)
        let mkIds = this.props.location.state

        let result = await get({
            url:`/api/keJian/yuLan?mkIds=${mkIds}`
        })
        this.setState({
            list:result.data.yuLan
        })
    }

    render() {
        return (
            <>
                <KeUI list={this.state.list}></KeUI>
            </>
        );
    }
}

export default Kepreview;